import { isDev } from '@/utils/back';

export const TIMEOUT = 3000;
export const API = (): string => {
  if (isDev()) return 'http://127.0.0.1:8080'; // replace with your API endpoint
  else return 'https://api.example.com'; // replace with your API endpoint
};
export const SOCKET_API = API().replace('http', 'ws');

export const IMAGE_API = API() + '/public';

export const WXAppId = 'wxe2af09c383c9a7a5';
